<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-ecrCard-edit" th:object="${ecrCard}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">用户id：</label>
				<div class="col-sm-8">
					<input id="merchantId" name="merchantId" th:field="*{merchantId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">银行名称代码：</label>
				<div class="col-sm-8">
					<input id="bankCode" name="bankCode" th:field="*{bankCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">银行账户：</label>
				<div class="col-sm-8">
					<input id="bankAccount" name="bankAccount" th:field="*{bankAccount}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">持卡人：</label>
				<div class="col-sm-8">
					<input id="bankAccountName" name="bankAccountName" th:field="*{bankAccountName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">持卡人身份证号：</label>
				<div class="col-sm-8">
					<input id="idCardNumber" name="idCardNumber" th:field="*{idCardNumber}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">添加时间：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">状态：</label>
				<div class="col-sm-8">
					<input id="sTATUS" name="sTATUS" th:field="*{sTATUS}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">类型：</label>
				<div class="col-sm-8">
					<input id="type" name="type" th:field="*{type}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">银行预留手机号：</label>
				<div class="col-sm-8">
					<input id="bankPhone" name="bankPhone" th:field="*{bankPhone}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">银行卡背面后三位：</label>
				<div class="col-sm-8">
					<input id="cvn" name="cvn" th:field="*{cvn}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">银行卡到期日期：</label>
				<div class="col-sm-8">
					<input id="expdate" name="expdate" th:field="*{expdate}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">最高限额：</label>
				<div class="col-sm-8">
					<input id="limitMoney" name="limitMoney" th:field="*{limitMoney}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">还款日：</label>
				<div class="col-sm-8">
					<input id="repaymentDay" name="repaymentDay" th:field="*{repaymentDay}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">代理商编号：</label>
				<div class="col-sm-8">
					<input id="agentNo" name="agentNo" th:field="*{agentNo}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">信用卡状态10B正常 10D删除：</label>
				<div class="col-sm-8">
					<input id="increaseLimitStatus" name="increaseLimitStatus" th:field="*{increaseLimitStatus}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">出账单日：</label>
				<div class="col-sm-8">
					<input id="billDay" name="billDay" th:field="*{billDay}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">默认通道：</label>
				<div class="col-sm-8">
					<input id="acqinfos" name="acqinfos" th:field="*{acqinfos}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预留字段1：</label>
				<div class="col-sm-8">
					<input id="field1" name="field1" th:field="*{field1}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预留字段2：</label>
				<div class="col-sm-8">
					<input id="field2" name="field2" th:field="*{field2}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预留字段3：</label>
				<div class="col-sm-8">
					<input id="field3" name="field3" th:field="*{field3}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预留字段4：</label>
				<div class="col-sm-8">
					<input id="field4" name="field4" th:field="*{field4}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">预留字段5：</label>
				<div class="col-sm-8">
					<input id="field5" name="field5" th:field="*{field5}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/ecrCard";
		$("#form-ecrCard-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-ecrCard-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
